package org.springblade.upgrade.config.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.core.mp.base.BaseService;
import org.springblade.upgrade.config.entity.PackageFrontConfig;
import org.springblade.upgrade.config.model.PackageFrontConfigBean;

import java.util.List;

/**
 * 服务
 *
 * @Version 1.0
 */
public interface IPackageFrontConfigService extends BaseService<PackageFrontConfig> {

    boolean addData(PackageFrontConfigBean param) throws Exception;

    boolean updateData(PackageFrontConfigBean param) throws Exception;

    boolean deleteData(PackageFrontConfigBean param) throws Exception;

    PackageFrontConfigBean findById(Long id);

    PackageFrontConfigBean findBySpec(PackageFrontConfigBean param);

    List<PackageFrontConfigBean> findListBySpec(PackageFrontConfigBean param);

    IPage<PackageFrontConfigBean> findPageBySpec(IPage<PackageFrontConfigBean> page, PackageFrontConfigBean param);
}
